From 2e4b5d40257c4d75db22714e0bcbb925c759f974 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Tue, 17 Apr 2007 20:17:22 +0000 Subject: [PATCH] Add style sheets tomtom_itn "TomTom Itenaries" and tomtom_asc "TomTom POI ascii files". --- Makefile.in | 2 +- style/tomtom_asc.style | 27 +++++++++++++++++++++++++++ style/tomtom_itn.style | 23 +++++++++++++++++++++++ vecs.c | 2 +- 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 style/tomtom_asc.style create mode 100644 style/tomtom_itn.style diff --git a/Makefile.in b/Makefile.in index 2a39a43de..2692a335a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -853,5 +853,5 @@ zlib/trees.o: zlib/trees.c zlib/deflate.h zlib/zutil.h zlib/zlib.h \ zlib/zconf.h zlib/trees.h zlib/uncompr.o: zlib/uncompr.c zlib/zlib.h zlib/zconf.h zlib/zutil.o: zlib/zutil.c zlib/zutil.h zlib/zlib.h zlib/zconf.h -internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/kompass_tk.style style/kompass_wp.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style +internal_styles.c: mkstyle.sh style/arc.style style/cambridge.style style/csv.style style/cup.style style/custom.style style/dna.style style/fugawi.style style/garmin301.style style/garmin_poi.style style/geonet.style style/gpsdrive.style style/gpsdrivetrack.style style/gpsman.style style/kompass_tk.style style/kompass_wp.style style/ktf2.style style/kwf2.style style/mapconverter.style style/mxf.style style/nima.style style/openoffice.style style/s_and_t.style style/saplus.style style/sportsim.style style/tabsep.style style/xmap2006.style style/xmap.style style/xmapwpt.style style/tomtom_itn.style style/tomtom_asc.style ./mkstyle.sh > internal_styles.c || (rm -f internal_styles.c ; exit 1) diff --git a/style/tomtom_asc.style b/style/tomtom_asc.style new file mode 100644 index 000000000..022936a9f --- /dev/null +++ b/style/tomtom_asc.style @@ -0,0 +1,27 @@ +# gpsbabel XCSV style file +# +# Format: TomTom Navigator Places of Interest +# Author: Olaf Klein +# Date: 04/17/2007 +# +DESCRIPTION TomTom POI file (.asc) +EXTENSION asc +DATATYPE WAYPOINT +# +# FILE LAYOUT DEFINITIIONS: +# +FIELD_DELIMITER COMMA +RECORD_DELIMITER CRNEWLINE +BADCHARS ," +ENCODING MS-ANSI +# +PROLOGUE TomTom Navigator Places of Interest +PROLOGUE GPSBabel-__VERSION__ ASCII Export +PROLOGUE Points +PROLOGUE Created at: __DATE_AND_TIME__ +# # +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD LON_DECIMAL, "", "%.6f" +IFIELD LAT_DECIMAL, "", "%.6f" +IFIELD SHORTNAME, "", ""%s"" diff --git a/style/tomtom_itn.style b/style/tomtom_itn.style new file mode 100644 index 000000000..712c2298d --- /dev/null +++ b/style/tomtom_itn.style @@ -0,0 +1,23 @@ +# gpsbabel XCSV style file +# +# Format: TomTom Navigator Itenaries (Routes) +# Author: Olaf Klein +# Date: 04/17/2007 +# +DESCRIPTION TomTom Itenaries (.itn) +EXTENSION itn +DATATYPE ROUTE +# +# FILE LAYOUT DEFINITIIONS: +# +FIELD_DELIMITER PIPE +RECORD_DELIMITER CRNEWLINE +BADCHARS ,| +ENCODING MS-ANSI +# +# INDIVIDUAL DATA FIELDS, IN ORDER OF APPEARANCE: +# +IFIELD LAT_10E5, "", "%.f" +IFIELD LON_10E5, "", "%.f" +IFIELD SHORTNAME, "", "%s" +IFIELD CONSTANT, "0", "%s" diff --git a/vecs.c b/vecs.c index 532c215f1..dbdd99947 100644 --- a/vecs.c +++ b/vecs.c @@ -458,7 +458,7 @@ vecs_t vec_list[] = { { &tomtom_vecs, "tomtom", - "TomTom POI file", + "TomTom POI file (.ov2)", "ov2" }, { -- 2.30.2